package com.ctshk.common.utils.individual.scenic.req.localfun;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author xuhui
 * @since 2/2/2021
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="LocalFunProductChannelOfflineSelfCustomReq对象", description="产品线下自营自定义权限")
public class ProductChannelOfflineSelfSubReq implements Serializable {

    @ApiModelProperty(value = "权限ID")
    private Long offlineSelfSubId;

    @ApiModelProperty(value = "自營渠道表ID")
    private Long ruleId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "勾选人/部门类型 1部门  2 员工")
    private Integer checkType;

    @ApiModelProperty(value = "关联ID")
    private Long relationId;

    @ApiModelProperty(value = "加幅类型 1 金额 2百分比")
    private Integer adultOneWayPriceType;

    @ApiModelProperty(value = "加幅费 金额/百分比")
    private BigDecimal adultOneWayPrice;

    @ApiModelProperty(value = "是否设置限购")
    private Integer isLimit;

    @ApiModelProperty(value = "限购数量")
    private Integer limitNum;
}